﻿using System.Data.Entity;
using System.Linq;
using BBICMS.Model.Works;

namespace BBICMS.Repository
{
    public class WorkRepository : GenericRepository<Work>
    {
        public WorkRepository(DbContext context) : base(context) { }

        public override IQueryable<Work> GetAll()
        {
            return this._dbSet.Include(p => p.WorkTypes);
        }

       
    }
}
